package com.geekca.j2.override_test;

public class Animal {

    String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void run() {
        System.out.println(this.name + "动物跑...");
    }
}
